# -*- coding: UTF-8 -*-
from util.res_register import RES
class P3dModel():
    @staticmethod   
    def load(cfg):
        model = loader.loadModel(cfg[0])
        tex = loader.loadTexture(cfg[1])
        model.setTexture(tex)
        return model
    @staticmethod
    def loadMap():
        model = loader.loadModel("resource/models/bigmap/world")
        return model